import {createApp} from 'vue'

import ElementPlus from 'element-plus';
import * as ElementPlusIconsValue from '@element-plus/icons-vue';
import  'element-plus/dist/index.css';


// import 'dayjs/locale/zh-cn'
import router from './router';

import App from './App.vue';

const app = createApp(App);
app.use(ElementPlus);
app.use(router);


for (const [key, component] of Object.entries(ElementPlusIconsValue)) {
    app.use(key, component);
}
app.mount("#app");